package com.jamie.billmanage.View;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JToolBar;
import javax.swing.JSplitPane;
import javax.swing.JButton;
import java.awt.Color;
import java.awt.FlowLayout;
import javax.swing.JLabel;
import javax.swing.SwingConstants;
import java.awt.Font;
import java.awt.Window.Type;

public class MainActivity extends JFrame {

	private JPanel contentPane;
	private final JSplitPane splitPane = new JSplitPane();

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					MainActivity frame = new MainActivity();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public MainActivity() {
		setType(Type.POPUP);
		setTitle("\u8D44\u91D1\u7BA1\u7406\u7CFB\u7EDF");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 677, 480);
		getContentPane().setLayout(null);
		splitPane.setBounds(0, 0, 661, 441);
		splitPane.setDividerLocation(330);
		getContentPane().add(splitPane);
		
		JPanel panel = new JPanel();
		panel.setLayout(null);
		splitPane.setLeftComponent(panel);
		
		JLabel lblNewLabel = new JLabel("\u65B0\u589E\u8D44\u6599\u4FE1\u606F");
		lblNewLabel.setBounds(10, 0, 115, 39);
		panel.add(lblNewLabel);
		
		JPanel panel_2 = new JPanel();
		panel_2.setBounds(10, 20, 309, 409);
		panel.add(panel_2);
		
		JLabel lblNewLabel_2 = new JLabel("New label");
		panel_2.setLayout(null);
		panel_2.add(lblNewLabel_2);
		
		JLabel lblNewLabel_3 = new JLabel("\u57FA\u672C\u4FE1\u606F");
		lblNewLabel_3.setBounds(10, 27, 89, 15);
		panel_2.add(lblNewLabel_3);
		
		JLabel lblNewLabel_3_1 = new JLabel("\u5DE5\u8D44\u4FE1\u606F\uFF1A");
		lblNewLabel_3_1.setBounds(10, 155, 89, 15);
		panel_2.add(lblNewLabel_3_1);
		
		JLabel lblNewLabel_3_2 = new JLabel("\u90E8\u95E8\u4FE1\u606F\uFF1A");
		lblNewLabel_3_2.setBounds(10, 280, 89, 15);
		panel_2.add(lblNewLabel_3_2);
		
		JPanel panel_3 = new JPanel();
		panel_3.setBounds(0, 34, 299, 95);
		panel_3.setLayout(null);
		panel_2.add(panel_3);
		
		JLabel lblNewLabel_4 = new JLabel("\u59D3\u540D\uFF1A");
		lblNewLabel_4.setBounds(6, 16, 54, 15);
		panel_3.add(lblNewLabel_4);
		
		JPanel panel_3_1 = new JPanel();
		panel_3_1.setBounds(0, 165, 299, 95);
		panel_3_1.setLayout(null);
		panel_2.add(panel_3_1);
		
		JPanel panel_3_2 = new JPanel();
		panel_3_2.setBounds(0, 288, 299, 95);
		panel_3_2.setLayout(null);
		panel_2.add(panel_3_2);
		
		
		JPanel panel_1 = new JPanel();
		panel_1.setLayout(null);
		splitPane.setRightComponent(panel_1);
		
		JLabel lblNewLabel_1 = new JLabel("\u4FEE\u6539\u8D44\u6599\u4FE1\u606F\uFF1A");
		lblNewLabel_1.setBounds(10, 0, 115, 39);
		panel_1.add(lblNewLabel_1);
		
		JPanel panel_2_1 = new JPanel();
		panel_2_1.setBounds(10, 20, 309, 409);
		panel_1.add(panel_2_1);;
	}
}
